// 用户管理模块
export namespace UserApi {
  export interface RegisterUser {
    username: string // 用户名
    password: string // 密码
    captcha: string // 图形验证码
  }

  export interface AddUser {
    uid?: string
    username: string
    password: string
    nickname: string
    role: string[]
  }

  export interface UniCloudUser {
    username: string
    password: string
    nickname?: string
    inviteCode?: string
    register_date?: number
    last_login_date?: number
    last_login_ip?: string
    role: string[]
  }
}
